﻿using System;
using Jink.Protocol.Core.ErrorCodes;

namespace Jink.Protocol.Core.StatusCodes
{
    [ErrorCode(ErrorCode.Success)]
    public class StatusCodeException : Exception
    {
        [StatusCodeProvider]
        public StatusCode StatusCode { get; private set; }

        public StatusCodeException(StatusCode statusCode)
        {
            StatusCode = statusCode;
        }
    }
}
